Skip to content

Conversation

@judith-ipac
Copy link

No description provided.

Copy link

@smonkewitz smonkewitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

If the sleep calls can be removed form the demo files, I think that would be an improvement.

write_addrs(file_name, addrs);

std::chrono::seconds dura(1);
std::this_thread::sleep_for(dura);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the sleeps (here and below)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the commit comment:

json_demo.cpp, json_map_demo.cpp, json_headers_only_demo.cpp: Added "sleep()" call
intended to prevent unreproducible "read" failures.

I'll remove the sleep statements now and see if I still see those failures.

@smonkewitz
Copy link

(Again, it looks like we probably shouldn't merge until we are ready to switch development to Debian 10 entirely).

The port was complicated by changes to boost::spirit which I was unable to pinpoint.

json5_parser_reader_template.h: new_identifier() now trims trailing whitespace no
    longer trimmed by boost::spirit parser.

json5_parser_reader_test.cpp:
    test_reading(): reformatted and added test case.
    check_reading_arrays(): added "unget()" to accommodate change to boost::spirit.

json5_parser_value_test.cpp: tweaked to accommodate change to boost::assign::list_of().

json_demo.cpp, json_map_demo.cpp, json_headers_only_demo.cpp: Added "sleep()" call
   intended to prevent unreproducible "read" failures.
Added print statements to test source files.

wscript: Replaced "-Ofast" with "-O3".
@judith-ipac judith-ipac force-pushed the IRSA-3460_Port_To_Debian10 branch from cbb1659 to baf3bdd Compare February 1, 2021 21:27
@judith-ipac judith-ipac requested a review from azhangipac July 5, 2022 15:33
@judith-ipac
Copy link
Author

Hi, Angela. Serge reviewed this branch (Port to Debian 10) but didn't approve because we weren't ready to merge to master. Could you please approve it? The Debian 11 branch is based on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants